﻿using System;
using System.Collections.Generic;

using SBPweb.Communication.Shared.Library.Contacts;

namespace SBPweb.Communication.Shared.Library.Conversations
{

    public interface IConversation
    {

        #region Property accessors

        IContact Owner
        {
            get;
        }

        IContact Receipient
        {
            get;
        }

        List<IContact> Members
        {
            get;
        }

        string Title
        {
            get;
            set;
        }

        #endregion

        #region Events

        event EventHandler<MessageBaseEventArgs> MessageReceived;

        #endregion

        #region Methods

        void SendMessage(MessageBase message);

        #endregion

    }

}